import { animate, state, style, transition, trigger } from '@angular/animations';

export const indexButtonAnimation = trigger(
    'indexButtonAnimation', [
        state('normal', style({ transform: 'scale(1)' , opacity: '1' })),
        state('clicked', style({ transform: 'scale(2)', opacity: '0' })),
        transition('normal <=> clicked', animate('0.5s ease-in-out'))
    ]
);
